import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "test1",
    component: () => import("@/views/test1")
  },
  {
    path: "/test2",
    name: "test2",
    component: () => import("@/views/test2")
  },
  {
    path: "/test3",
    name: "test3",
    component: () => import("@/views/test3")
  }
];

const router = new VueRouter({
  routes
});

export default router;
